package com.ruoyi.consumer.controller.facilit.fill;

import lombok.Data;

/**
 * @author: lizhouwei
 * @ date : 2023/11/27
 * @description:
 */
@Data
public class BigDataItem {
    private String id;
    private String equipmentName;
    private String sn;
    private String ccid;
    private Double orderVol;
    private Double orderPrice;
    private Double orderMoney;
    private Double orderVolReal;
    private Double orderMoneyReal;
    private String orderDiscount;
    private Integer orderCountReal;
    private String payType;
    private String orderTitle;
    private String orderStatus;
    private String orderStatusMsg;
    private String orderComeStatus;
    private String orderComeStatusMsg;
    private Integer orderType;
    private String equipmentOrderTime;
    private String cardId;
    private String cardUserName;
    private String cardNumber;
    private String cardUserId;
    private String cardTrueName;
    private String weixinOrderId;
    private String alipayOrderId;
    private String prepayId;
    private String userId;
    private String userName;
    private String createUser;
    private String snNumber;
    private String subMchid;
    private String createTime;
    private String updateTime;
    private String vipId;
    private String accountName;
    private String tableName;
    private String notifyUrl;
    private String thirdPay;

    public Integer getOrderMoney() {
        return (int) Math.round(orderMoney * 100);
    }

    public Integer getOrderMoneyReal() {
        return (int) Math.round(orderMoneyReal * 100);
    }

    public Long getOrderVolReal() {
        return Math.round(orderVolReal * 1000);
    }
}
